resubmit)) { $form->resubmit = 0; } if (empty($form->maxbytes)) { $form->maxbytes = $CFG->aca_maxbytes; } if (empty($form->emailteachers)) { $form->emailteachers = ''; } if (empty($form->sourcefile)) { $form->sourcefile = ''; } if (isset($form->gradetype) && $form->gradetype=='') { $form->gradetype = 1; } if (empty($form->grademax)) { $form->grademax = 0; } if (empty($form->grademin)) { $form->grademin = 0; } if (empty($form->graderandval)) { $form->graderandval = 1; } ?>
| : | maxbytes, $this->course->maxbytes); choose_from_menu ($choices, "maxbytes", $form->maxbytes, ""); ?> |
| : | resubmit, ""); helpbutton("resubmit", get_string("allowresubmit", "aca"), "aca"); ?> |
| : | emailteachers, ""); helpbutton("emailteachers", get_string("emailteachers", "aca"), "aca"); ?> |
| get_source_files($form) ?> | |
| : |
maxbytes));
echo " $struploadafile ($strmaxsize) "; require_once($CFG->libdir.'/uploadlib.php'); upload_print_form_fragment(1,array('sourcefile'),false,null,0,$form->maxbytes,false); helpbutton("teacherfile", get_string("teacherfile", "aca"), "aca"); ?> |
| : | gradetype, ""); helpbutton("grading", get_string("gradetype", "aca"), "aca"); ?> |
| : |
grademax, "");
echo ' '; unset($options[1]); print_string('gradeundermax','aca'); echo ':'; choose_from_menu($options, "grademin", $form->grademin, ""); echo ' '; print_string('graderand','aca'); ?> |